<template>
<!-- 提交订单 -->
  <div class="placeOrder">
    <Header title="订单详情" background="#fff"/>
    <div class="content">
        <div class="order">
          <div class="name">元宇宙国际拍卖有限公司</div>
          <div class="con">
            <div class="left"></div>
            <div class="right">
              <div class="tit">TRON #3378</div>
              <div class="price">¥ 19.90</div>
            </div>
          </div>
        </div>
        <div class="purchase p8">
          <div class="name">作品故事</div>
          <p>1、所有作品有制造者设定</p>
          <p>2、因通道限制商品最高单价20000元</p>
          <p>3、作品流转最低期限为5天</p>
          <p>4、请理性购买，切勿盲目炒作</p>
          <p>5、请理性购买，切勿盲目炒作</p>
       </div>
    </div>
   <div class="fixedBtm">
      <div class="num">¥ 19.90</div>
      <van-button class="sub" block type="info" @click="subClick">提交订单</van-button>
    </div>
  </div>
</template>

<script>
import { mapGetters, mapActions } from 'vuex'
export default {
  name: 'placeOrder',
  computed: { ...mapGetters({ pageData: 'pageData'}) },
  data () {
    return {
      
    }
  },
  methods: {
    subClick() {
      this.$router.push({name: 'toPaid'})
    }
  },
  mounted() {

  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style lang="less" scope>
.placeOrder {
  width: 100%;
  padding-bottom: 20px;
  padding-top: 50px;
  box-sizing: border-box;
  .content {
    width: 100%;
    padding: 8px;
    padding-top: 0;
    padding-bottom: 30px;
    box-sizing: border-box;
    .order {
      width: 100%;
      height: 98px;
      background-color: #fff;
      background: #FFFFFF;
      box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.1);
      border-radius: 10px;
      padding-left: 8px;
      box-sizing: border-box;
      margin-bottom: 10px;
      .name {
        width: 100%;
        // padding: 4px 0;
        // line-height: 1;
        font-size: 12px;
        font-family: PingFangSC-Regular, PingFang SC;
        font-weight: 400;
        color: #666666;
        height: 32px;
        line-height: 32px;
      }
      .con {
        width: 100%;
        height: 60px;
        .left {
          float: left;
          width: 54px;
          height: 54px;
          background: brown;
        }
        .right {
          float: left;
          padding-left: 8px;
          height: 54px;
          .tit {
            font-size: 16px;
            font-family: PingFangSC-Medium, PingFang SC;
            font-weight: 500;
            color: #333333;
            height: 30px;
            line-height: 30px;
          }
          .price {
            font-size: 16px;
            font-family: PingFangSC-Medium, PingFang SC;
            font-weight: 500;
            color: #6B00F0;
            height: 24px;
            line-height: 24px;
            background: linear-gradient(270deg, #E091A9 0%, #9A7FCF 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
          }
        }
      }
    }
     .purchase {
        width: 100%;
        background: #FFFFFF;
        box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        margin-bottom: 10px;
        padding-bottom: 8px;
        box-sizing: border-box;
        .name {
          display: block;
          line-height: 1;
          padding-top: 14px;
          padding-bottom: 10px;
          font-size: 16px;
          font-weight: 500;
          color: #333333;
          font-family: PingFangSC-Regular, PingFang SC;
        }
        p {
          font-size: 11px;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          color: #999999;
          line-height: 18px;
        }
      }

  }
}
</style>
